using System;

namespace AdvancedInspector
{
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface, Inherited = true)]
	public class AdvancedInspectorAttribute : Attribute
	{
		private bool inspectDefaultItems;

		private bool showScript = true;

		private bool expandable = true;

		public bool InspectDefaultItems
		{
			get
			{
				return inspectDefaultItems;
			}
			set
			{
				inspectDefaultItems = value;
			}
		}

		public bool ShowScript
		{
			get
			{
				return showScript;
			}
			set
			{
				showScript = value;
			}
		}

		public bool Expandable
		{
			get
			{
				return expandable;
			}
			set
			{
				expandable = value;
			}
		}

		public AdvancedInspectorAttribute()
		{
		}

		public AdvancedInspectorAttribute(bool inspectDefaultItems)
		{
			this.inspectDefaultItems = inspectDefaultItems;
		}

		public AdvancedInspectorAttribute(bool inspectDefaultItems, bool showScript)
		{
			this.showScript = showScript;
			this.inspectDefaultItems = inspectDefaultItems;
		}
	}
}
